<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">

<head>
<title>js第1课</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="这是js第1课">

<style>
#div1 {
	width: 200px;
	height: 100px;
	background: #CCC;
	border: 1px solid #999;
	display: none;
}
</style>

</head>

<body>

	<input type="checkbox"  
		onmouseover="div1.style.display='block';"
		onmouseout="div1.style.display='none';">第一个复选框
				
	<input type="checkbox"
		onmouseover="document.getElementById('div1').style.dispaly='block';"
		onmouseout="document.getElementById('div1').style.dispaly='none';">第二个复选框

	<div id="div1">为了您的信息安全。。。</div>

</body>
</html>